<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
    <h1 align="center">用户登录</h1>
    <hr>
    <form action="/user/login">
        <table align="center" width="50%" border="1" cellspacing="2" cellpadding="5">
            <tr>
                <td align="center">用户名：</td>
                <td>
                    <input type="text" name="userName">
                </td>
            </tr>
            <tr>
                <td align="center">密码：</td>
                <td>
                    <input type="password" name="password">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="登录">
                    <input type="reset" value="重置">
                </td>
            </tr>
        </table>
    </form>
    <h2 align="center">用户添加</h2>
    <form action="/user/addUser">
        <table align="center" width="50%" border="1" cellspacing="2" cellpadding="5">
            <tr>
                <td align="center">用户名：</td>
                <td>
                    <input type="text" name="userName">
                </td>
            </tr>
            <tr>
                <td align="center">密码：</td>
                <td>
                    <input type="password" name="userPassword">
                </td>
            </tr>
            <tr>
                <td align="center">性别：</td>
                <td>
                   <input type="text" name="sex">
                </td>
            </tr>
            <tr>
                <td align="center">地址：</td>
                <td>
                    <input type="text" name="address">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="注册">
                    <input type="reset" value="重置">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
